<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Dair.Log</title>
<link href="css/File.css" rel="stylesheet" type="text/css" />
<link href="../js/dijit/themes/dijit.css" rel="stylesheet" type="text/css" />
<link href="../js/dijit/themes/tundra/form/Button.css" rel="stylesheet" type="text/css" />
<script>
djConfig={
	isDebug:true, 				// true debugs to Console or terminal, false, no output
	parseOnLoad: true, 
	airConfig:{
		terminal:false,			// logs to terminal window, does not open Console
		debuggerKey:119,		// the keyCode that opens the Console (doesn't really work)
		introspectorKey:118, 	// the keyCode that opens the Console 
		showTimestamp:false,	// whether to show a timestamp on every line
		showSender:false		// whether to show the file on every line
	}
}

</script>
<script src="../js/dojo/dojo.js"></script>
<script>

dojo.require("dair.AIR");
dojo.require("dair.Log");
dojo.require("dojo.parser");
dojo.require("dijit.form.Button");


dojo.addOnLoad(function(){
	//"/Users/mike/Sites/Sitepen/adobe/dAIR/AIR_LOG/log.txt"
	var options = {
		//path:"/Users/mike/Sites/Sitepen/adobe/dAIR/DOOBIE_LOG/",
		path:"documents",
		folder:"MyWoo/Stuffaroo",
		name:"myFooFile",
		timeStamp:true,
		append:false
	}
	var g = new dair.Log(options);
	
	g.write("Mike");
	g.write("Mike");
	g.write("was");
	g.write("Mike");
	g.write("Mike");
	g.write("here");
	
});
</script>
</head>

<body class="tundra">
	<h1>Dair.File</h1>
	<div id="titleBar">My Title</div>

	<button id="newFile" dojoType="dijit.form.Button">Log 1</button>
	<button id="openFile" dojoType="dijit.form.Button">Log 2</button>

</body>
</html>
